package nongchang.kuaijiecaifu.com.ncapp_android.ui.gamerulefragment;

import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;

import butterknife.BindView;
import butterknife.ButterKnife;
import ezy.lite.util.UI;
import nongchang.kuaijiecaifu.com.ncapp_android.R;
import nongchang.kuaijiecaifu.com.ncapp_android.common.fragment.BaseFragment;
import nongchang.kuaijiecaifu.com.ncapp_android.ui.adapter.CalculateAdapter;

/**
 * Created by Administrator on 2016/6/3 0003.
 */

/**
 * Created by Administrator on 2016/3/11 0011.
 */
public class GameRule1Fragment extends BaseFragment {
    @BindView(R.id.txt_cal1)
    TextView txtCal1;
    @BindView(R.id.txt_cal2)
    TextView txtCal2;
    @BindView(R.id.txt_cal3)
    TextView txtCal3;
    @BindView(R.id.txt_cal4)
    TextView txtCal4;
    @BindView(R.id.txt_cal5)
    TextView txtCal5;
    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
        // Inflate the layout for this fragment
        View view = inflater.inflate(R.layout.fragment_game_rule1, container, false);
        return view;
    }
    @Override
    public void onViewCreated(View view, Bundle savedInstanceState) {
        super.onViewCreated(view, savedInstanceState);
        ButterKnife.bind(this, getView());
        UI.setTvHtml(txtCal1,R.string.how_to_cal1);
        UI.setTvHtml(txtCal2,R.string.how_to_cal2);
        UI.setTvHtml(txtCal3,R.string.how_to_cal3);
        UI.setTvHtml(txtCal4,R.string.how_to_cal4);
        UI.setTvHtml(txtCal5,R.string.how_to_cal5);
    }
}
